﻿{% extends 'theme/jindong/template/master.html' %}

{%load comm_extras %}
{% block body_id %}index{% endblock %}
{% block main_content %}
	<div class="mt">
		<h2>
			上线商品
		</h2>
		<div class="extra">
		</div>
	</div>
	<div class="mc">
		<ul class="list-h">
		{%for item in items %}
			<li class="fore">
				<div class="p-img">
					<a target="_blank" href="{%url product-detail-info item.id %}">
						<img src="/static/productimgs/{{item.homeimage.thumburl}}" width="100" height="100" alt="{{item.title}}" />
					</a>
				</div>
				<div class="p-name">
					<a target="_blank" title="{{item.title}}" href="{%url product-detail-info item.id %}">
						{{item.title}}
					</a>
					<div>
						<a href="{%url item-tuan-list item.id %}">查看团购信息</a>
					</div>
				</div>
				<div class="p-price">
					零售价：
					<strong>
						￥{{item.price}}
					</strong>
				</div>
			</li>
		{%endfor%}
		</ul>
	</div>
	<br/>
	{% paginator 5 %}
{% endblock %}

{% block right_content %}
<div class="m limitbuy hide" id="limitbuy538" clstag="homepage|keycount|homepage|limitbuy538" style="display: block; ">
	<div class="mt">
		<h2>
			推荐商品
		</h2>
	</div>
	<div class="mc">
		<div id="limit538">
			<ul>
			{%for hot in hots%}
				<li>
					<div class="p-img">
						<a href="{%url product-detail-info hot.item.id %}" target="_blank">
							<img src="/static/productimgs/{{hot.item.homeimage.thumburl}}" width="100" height="100">
						</a>
					</div>
					<div class="p-name">
						<a href="{%url product-detail-info hot.item.id %}" target="_blank">
							{{hot.item.title}}
							<font color="#ff6600">
							</font>
						</a>
					<div>
							<a href="{%url item-tuan-list hot.item.id %}">查看团购信息</a>
						</div>
					</div>
					<div class="p-price">
						零售价：
						<strong>
							￥{{hot.item.price}}
						</strong>
					</div>
				</li>
			{%endfor%}
			</ul>
		</div>
	</div>
</div>
{% endblock %}